package main

import (
	"operator/pkg/network/meshnet/tcp"
)

func main() {
	tc, _ := tcp.NewClient(5555)
	stop := make(chan struct{})
	tc.AddFn("test", func(bytes []byte) []byte {
		return []byte{1}
	})

	tc.Run(stop)
	select {}
}
